package wqh.pojo;


public class ChannelUpdate {

    private String old_name;
    private String old_ip;
    private String new_name;
    private String new_ip;

    public ChannelUpdate(String old_name, String old_ip, String new_name, String new_ip) {
        this.old_name = old_name;
        this.old_ip = old_ip;
        this.new_name = new_name;
        this.new_ip = new_ip;
    }

    @Override
    public String toString() {
        return "ChannelUpdate{" +
                "old_name='" + old_name + '\'' +
                ", old_ip='" + old_ip + '\'' +
                ", new_name='" + new_name + '\'' +
                ", new_ip='" + new_ip + '\'' +
                '}';
    }

    public String getOld_name() {
        return old_name;
    }

    public void setOld_name(String old_name) {
        this.old_name = old_name;
    }

    public String getOld_ip() {
        return old_ip;
    }

    public void setOld_ip(String old_ip) {
        this.old_ip = old_ip;
    }

    public String getNew_name() {
        return new_name;
    }

    public void setNew_name(String new_name) {
        this.new_name = new_name;
    }

    public String getNew_ip() {
        return new_ip;
    }

    public void setNew_ip(String new_ip) {
        this.new_ip = new_ip;
    }
}
